<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>登录页</title>
    <jsp:include page="${pageContext.request.contextPath}/common/css.jsp" />
</head>
<body>
    <p class="h2">${mess}</p>
<form class="form-horizontal" action="${pageContext.request.contextPath}/login" method="post">
    <div class="form-group">
        <label for="name" class="col-sm-2 control-label">用户名</label>
        <div class="col-sm-6">
            <input type="text" name="name" class="form-control" id="name" placeholder="用户名/邮箱">
        </div>
    </div>
    <div class="form-group">
        <label for="password" class="col-sm-2 control-label">密码</label>
        <div class="col-sm-6">
            <input type="password" name="password" class="form-control" id="password" placeholder="请输入密码">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">登陆</button>
        </div>
    </div>
</form>
<jsp:include page="${pageContext.request.contextPath}/common/js.jsp"/>
</body>
</html>
